package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class QueryPropertyByTypeDTO {

    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "传入类型定义列表")
    private List<String> metaclassOrStereotypeList;

    @Schema(title = "是否需要相反属性")
    private Boolean needOppositeProperty = false;

    @Schema(title = "是否需要只读属性")
    private Boolean needReadOnlyProperty = false;

    @Schema(title = "是否需要计算属性")
    private Boolean needComputedProperty = false;

}
